﻿#region License
// /* **************************************************************
// * Copyright (C) intex Consulting GmbH - All Rights Reserved    *
// *--------------------------------------------------------------*
// * Unauthorized copying of this file, via any medium is         *
// * strictly prohibited                                          *
// *--------------------------------------------------------------*
// * Proprietary and confidential                                 *
// *--------------------------------------------------------------*
// * Dissasembling/modifications strictly prohibited!             *
// ***************************************************************/
#endregion
using System;
using ComHlp.Exceptions;

namespace ComHlp.CEventArgs
{
    public class ConnectionStateChangedEventArgs : EventArgs
    {
        /// <summary> exception, if any occured </summary>
        public CommunicationException ComException { get; private set; }


        /// <summary> constructor with exception, connectionstate is set to closed </summary>
        /// <param name="comException"></param>
        public ConnectionStateChangedEventArgs(CommunicationException comException)
        {
            ComException = comException;
        }

        public ConnectionStateChangedEventArgs()
        {
        }
    }
}
